package com.atsmart.app.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.ListView;

import com.atsmart.app.R;
import com.atsmart.app.adapter.MoreAdapter;
import com.atsmart.app.utils.IntentUtil;

public class MoreActivity extends BaseActivity {
	private ListView listView;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.more_layout);
		findViewById(R.id.btn_refresh).setVisibility(View.GONE);
		listView = (ListView) findViewById(R.id.listview);
		listView.setAdapter(new MoreAdapter());
		listView.setOnItemClickListener(new OnItemClickListener() {

			@Override
			public void onItemClick(AdapterView<?> parent, View view, int position,
					long id) {
				IntentUtil.redirectToNext(MoreActivity.this, CheckActivity.class);
			}
		});
	}

}
